<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./myVue.js"></script>
</head>
<body>

    <div id="app">
        <input v-model="msg" >
        <div>{{msg}}</div>
        <div @click="add" v-html="msg"></div>
        <button @click = "clickEvent">点击</button>
  </div>

  <script>
      let myVueObj =  new myVue({
            el:"#app",
            data:{
                    msg:"我的信息",
                    aa:"123152",
                    bb:"254654",
                }
            ,
            methods: {
                add(){
                   console.log("11")
                },
                clickEvent(e){
                    console.log(this)
                } 
            },
            beforeCreat(){
                console.log("beforeCreat")
            }

        })


  </script>
    
</body>
</html>